package com.jiyinit.web.core.business.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiyinit.web.core.common.util.CustomDateDeserialize;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by lr on 2018/1/4.
 */
public class MemoireRequest {
    private Integer userId;
    private Integer channel;
    private String content;
    private Date startTime;
    private Date endTime;
    private String remark;
    private Integer remindType;
    private Integer repeatType;
    private Date remindTime; //自定义提醒时间
    private Integer MemoireId;

    public Integer getMemoireId() {
        return MemoireId;
    }

    public void setMemoireId(Integer memoireId) {
        MemoireId = memoireId;
    }

    public Date getRemindTime() {
        return remindTime;
    }

    public void setRemindTime(Date remindTime) {
        this.remindTime = remindTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getStartTime() {
        return startTime;
    }

    @JsonDeserialize(using = CustomDateDeserialize.class)
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getRemindType() {
        return remindType;
    }

    public void setRemindType(Integer remindType) {
        this.remindType = remindType;
    }

    public Integer getRepeatType() {
        return repeatType;
    }

    public void setRepeatType(Integer repeatType) {
        this.repeatType = repeatType;
    }
}
